import { inject, injectable } from "inversify";
import { Resource } from "../../common/types";
import { IServiceContainer } from "../../ioc/types";
import { IApplicationDiagnostics } from "../types";
import { ISourceMapSupportService } from "./types";

@injectable()
export class ApplicationDiagnostics implements IApplicationDiagnostics {
    constructor(@inject(IServiceContainer) private readonly serviceContainer: IServiceContainer) { }
    performPreStartupHealthCheck(resource: Resource): Promise<void> {
        throw new Error("111Method not implemented.");
    }
    public register(): void {
        this.serviceContainer.get<ISourceMapSupportService>(ISourceMapSupportService).register();
    }
}